package com.wangsb.code0404;

import java.io.Serializable;

/**
 * @Description: TODO
 * @author: shenbing.wang@hand-china
 * @date: 2021年06月26日 22:25
 */
public class UserMessage implements Serializable {
    private User user;
    private String type;

    public UserMessage() {
    }

    public UserMessage(User user, String type) {
        this.user = user;
        this.type = type;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return user + type;
    }
}

